<template>
    <div>
        <data-desc v-for="item in datalist" :key="item.dataId" :item="item"></data-desc>
    </div>
</template>

<script>
import { mapActions } from 'vuex';
import dataDesc from '@/components/user/dataDesc'
export default {
    components:{dataDesc},
    data() {
        return {
            datalist:[]
        }
    },
    methods: {
        ...mapActions(['XgetDataList'])
    },
    mounted() {
        this.XgetDataList().then(res => {
            this.datalist = res.data;
        })
    },
}
</script>

<style lang="scss" scoped>

</style>